package com.zcm.entity;

final public class shopping_cart {

	private Integer id;
	private Integer comid;
	private Integer userid;
	private Integer num ;
	private String size;

	@Override
	public String toString() {
		return "shopping_cart [id=" + id + ", comid=" + comid + ", userid=" + userid + ", num=" + num + ", size=" + size
				+ "]";
	}

	public shopping_cart(Integer id, Integer comid, Integer userid) {
		super();
		this.id = id;
		this.comid = comid;
		this.userid = userid;
	}

	final public Integer getId() {
		return id;
	}

	final public void setId(Integer id) {
		this.id = id;
	}

	final public Integer getComid() {
		return comid;
	}

	final public void setComid(Integer comid) {
		this.comid = comid;
	}

	final public Integer getUserid() {
		return userid;
	}

	final public void setUserid(Integer userid) {
		this.userid = userid;
	}
	
	

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	
	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public shopping_cart(Integer id, Integer comid, Integer userid, Integer num) {
		super();
		this.id = id;
		this.comid = comid;
		this.userid = userid;
		this.num = num;
	}

	public shopping_cart() {

	}


}
